# 简单的类

class Person:
    #  初始化方法
    def __init__(self, name):
        self.name = name

    def say_hi(self):
        print("hi ", self.name)


p = Person("xxxx")
p.say_hi()
print(p)
